package com.zjb.demo.system.domain.vo;

import com.zjb.demo.system.domain.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Set;

/**
 * @author 庄佳彬
 * @since 2023/12/29 13:07
 */
@ApiModel(value = "UserInfoView", description = "用户信息")
public record UserInfoView(
        @ApiModelProperty(value = "用户信息")
        User user,
        @ApiModelProperty(value = "用户角色")
        Set<String> roles,
        @ApiModelProperty(value = "用户权限")
        Set<String> permissions
) {
}
